-- Test getting off the switch
CLOSE_DOOR = "IDLE";

entity.Pick( "leftdoor" );
entity.SetState( CLOSE_DOOR );